import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class list{

    public static void main(String[] args) {
        List<Map<String, Object>>list= new ArrayList<>();


        Map<String, Object> m = new HashMap<>();
        m.put("name", "老登");
        m.put("id", 2004);
        m.put("age", 18);
        list.add(m);

        for (Map<String, Object> map : list){
            System.out.println(map);
        }

    }
}